package org.ainlolcat.ainscience.column.threshold;

import org.ainlolcat.Variable;

/**
* @author ainlolcat
*         Date: 5/5/13
*/
public class MoreThanThreshold extends ContextLessThreshold {

    public MoreThanThreshold(int type, double value, boolean filter, boolean local) {
        super(type, value, filter, local);
    }

    public boolean isExceed(Variable variable) {
        return variable.getDoubleValue() == null || variable.getDoubleValue() > value;
    }
}
